#include "YHTri.h"
#include "HighPrecision.h"
using namespace std;

int main()
{
	int n = 1000;

	YHTri<Int> a(n);
	cout << a[n][n / 2] << endl;

	return 0;
}